package com.example.spring.demo.code;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author liangchao
 * 11/18/18 4:26 PM
 */
@AllArgsConstructor
@Getter
public enum UserType {
    STUDENT(1, "student"), TEACHER(2, "teacher");
    private int code;
    private String name;
}
